package com.mmd.openfire_admin.dao;

import com.mmd.openfire_admin.generator.pojo.Ofpubsubsubscription;
import com.mmd.openfire_admin.generator.pojo.OfpubsubsubscriptionExample;
import com.mmd.openfire_admin.generator.pojo.OfpubsubsubscriptionKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OfpubsubsubscriptionMapper {
    int countByExample(OfpubsubsubscriptionExample example);

    int deleteByExample(OfpubsubsubscriptionExample example);

    int deleteByPrimaryKey(OfpubsubsubscriptionKey key);

    int insert(Ofpubsubsubscription record);

    int insertSelective(Ofpubsubsubscription record);

    List<Ofpubsubsubscription> selectByExample(OfpubsubsubscriptionExample example);

    Ofpubsubsubscription selectByPrimaryKey(OfpubsubsubscriptionKey key);

    int updateByExampleSelective(@Param("record") Ofpubsubsubscription record, @Param("example") OfpubsubsubscriptionExample example);

    int updateByExample(@Param("record") Ofpubsubsubscription record, @Param("example") OfpubsubsubscriptionExample example);

    int updateByPrimaryKeySelective(Ofpubsubsubscription record);

    int updateByPrimaryKey(Ofpubsubsubscription record);
}